@extends('admin.layouts._menu')
@section('content')
    <form action="{{route('admin.order.updateStatus',$order)}}" method="post">
        @csrf
        <div class="card text-center">
          <div class="card-body">
              <ul class="nav nav-tabs nav-overflow header-tabs">
                  <li class="nav-item">
                      <a href="" class="nav-link pb-3 active">
                          修改【{{$order['id']}}】号订单状态
                      </a>
                  </li>
              </ul>
          </div>
          <div class="card-body">
              <div class="col-2 mb-4">
                  <input type="radio" name="status" @if ($order['status']=='未付款') checked @endif value="未付款">
                  未付款
              </div>
              <div class="col-2 mb-4">
                  <input type="radio" name="status"  @if ($order['status']=='已付款') checked @endif  value="已付款">
                  已付款
              </div>
              <div class="col-2 mb-4">
                  <input type="radio" name="status"  @if ($order['status']=='已发货') checked @endif   value="已发货">
                  已发货
              </div>
              <div class="col-2 mb-4">
                  <input type="radio" name="status"  @if ($order['status']=='已完成') checked @endif  value="已完成">
                  已完成
              </div>
          </div>
            <div class="card-body">
                <button class="btn btn-primary btn-sm">保存提交</button>
            </div>
        </div>
    </form>
@endsection
